import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2024-09-27
 * Time: 21:14
 */
public class Test {
    public static void main(String[] args) {
        Code code=new Code();
        //初始化牌面
        List<Code> codeList=code.buycode();
        System.out.println("初始化牌面："+codeList);
        //洗牌
        System.out.println("洗牌："+code.randcode(codeList));
        //发牌
        List<List<Code>> h=code.play(codeList);
        System.out.println("发牌：");
        for (int i = 0; i < h.size(); i++) {
            System.out.println(h.get(i));
        }
    }
}
